package inno.specificOperator;

public class Xor implements Operator{
	
	public Double calculate(Double val1, Double val2){
		if (((val1>0)&&(val2<=0))||((val1<=0)&&(val2>0))){
			return 1.0;
		}
		else{
			return 0.0;
		}
	}

	@Override
	public String getTag() {
		return "XOR";
	}

}
